package com.liao.badminton.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.badminton.code.PageParam;
import com.liao.badminton.code.ProjectException;
import com.liao.badminton.code.ResponseRest;
import com.liao.badminton.dto.SystemUserRoleDto;
import com.liao.badminton.entity.SystemUserRole;

/**
 * @author liaocheng
 * @date 2023-11-22
 * description:用户和角色关联表
 */
public interface SystemUserRoleService extends IService<SystemUserRole> {
    /**
     * 新增
     */
    ResponseRest saveSystemUserRole(SystemUserRoleDto param) throws ProjectException;

    /**
     * 删除
     */
    ResponseRest deletesSystemUserRole(SystemUserRoleDto param) throws ProjectException;

    /**
     * 修改
     */
    ResponseRest updateSystemUserRole(SystemUserRoleDto param) throws ProjectException;

    /**
     * 查询详情
     */
    ResponseRest findDetail(SystemUserRoleDto param) throws ProjectException;

    /**
     * 查询列表
     */
    ResponseRest findSystemUserRoleByPageParam(PageParam<SystemUserRoleDto> PageParam) throws ProjectException;


}
